package com.niuwa.p2p.vo.front.account;

import java.math.BigDecimal;

/**
 * 投资记录 VO
 * @title CustomerinvestlogVo.java
 *
 * @author liuhuan
 * @version 1.0
 * @created 2015年4月8日
 */
public class CustomerinvestlogVo {
	private long id;
	/**
	 * 投资方式
	 */
	private String investtype;
	/**
	 * 项目名称
	 */
	private String name;
	/**
	 * 投资金额
	 */
	private BigDecimal investamount;
	/**
	 * 收益率
	 */
	private BigDecimal incomerate;
	/**
	 * 附加收益
	 */
	private BigDecimal addyield; 
	/**
	 * 投资日期
	 */
	private String investdate;
	/**
	 * 到期时间
	 */
	private String investenddate;
	/**
	 * 协议
	 */
	private String protocolurl;
	/**
	 * 预计收益
	 */
	private BigDecimal incomeamount;
	/**
	 * 投资状态
	 */
	private String investstatus;
	
	public BigDecimal getAddyield() {
		return addyield;
	}
	public void setAddyield(BigDecimal addyield) {
		this.addyield = addyield;
	}
	public String getInveststatus() {
		return investstatus;
	}
	public void setInveststatus(String investstatus) {
		this.investstatus = investstatus;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getInvesttype() {
		return investtype;
	}
	public void setInvesttype(String investtype) {
		this.investtype = investtype;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getInvestamount() {
		return investamount;
	}
	public void setInvestamount(BigDecimal investamount) {
		this.investamount = investamount;
	}
	public BigDecimal getIncomerate() {
		return incomerate;
	}
	public void setIncomerate(BigDecimal incomerate) {
		this.incomerate = incomerate;
	}
	public String getInvestdate() {
		return investdate;
	}
	public void setInvestdate(String investdate) {
		this.investdate = investdate;
	}
	public String getInvestenddate() {
		return investenddate;
	}
	public void setInvestenddate(String investenddate) {
		this.investenddate = investenddate;
	}
	public String getProtocolurl() {
		return protocolurl;
	}
	public void setProtocolurl(String protocolurl) {
		this.protocolurl = protocolurl;
	}
	public BigDecimal getIncomeamount() {
		// TODO 计算预计收益
		return incomeamount;
	}
	public void setIncomeamount(BigDecimal incomeamount) {
		this.incomeamount = incomeamount;
	}
}
